package org.example.domain.model.entity.url.errorCode;

import org.example.web.result.StateCode;

public enum UrlShortenerErrorCode implements StateCode {




    URL_SHORTENER_GENERATED_FREQUENTLY("B000401", "短链接频繁生成，请稍后再试"),
    URL_SHORTENER_ERROR_FREQUENTLY("B000402", "短链接生成失败，请稍后再试"),
    URL_SHORTENER_SKIP_EXCEPTION("B000403", "短链接跳转异常，请稍后再试"),
    URL_SHORTENER_RECORD_DOES_NOT_EXIST("B000404", "短链接记录不存在"),

    URL_SHORTENER_PLEASE_MAKE_CHANGES_IN_SUBMISSION("B000404", "请做修改在提交");

    private final String code;

    private final String message;

    UrlShortenerErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
    @Override
    public String code() {
        return null;
    }

    @Override
    public String message() {
        return null;
    }
}
